package cn.exrick.xboot.base.service

import cn.exrick.xboot.base.entity.SecurityAdvisorPublish
import cn.exrick.xboot.base.vo.SecurityAdvisorPublishVo
import cn.exrick.xboot.core.common.vo.PageVo
import cn.exrick.xboot.core.common.vo.Result
import com.baomidou.mybatisplus.extension.service.IService

/**
 * 安全顾问发布接口
 * @author Fei
 */
interface ISecurityAdvisorPublishService : IService<SecurityAdvisorPublish?> {


    /**
     * 安全顾问发布获取修改
     */
    fun createOrUpdateSecurityAdvisorPublish(securityAdvisorPublish: SecurityAdvisorPublish): Result<Any?>?

    /**
     * 获取安全顾问发布详情
     */
    fun getSecurityAdvisorPublishDetail(id: String?): Result<SecurityAdvisorPublishVo?>?

    /**
     * 获取安全顾问发布的详情列表
     */
    fun getSecurityAdvisorPublishList(pageVo: PageVo): Result<MutableMap<String, Any?>>?

}